import App from './App.vue'
import { createApp } from 'vue'
import router from '@/router'

import { useVant } from '@/plugins/vantUI'
import useVueGlobalConfig from '@/vue.config'

import '@/style/main.scss'
/* 导入全局样式 */

const app = createApp(App)

;(() => {
  /* 安装vantUI */
  useVant(app)

  /* @desc: 加载全局配置 */
  useVueGlobalConfig(app)

  app.use(router).mount('#app')
})()
